package com.linewell.service;

import com.linewell.entity.Collected;

import java.util.List;

/**
 * @Title: ssm2
 * @description:
 * @author: hyuhuang@linewell.com
 * @since:2018/2/27
 */
public interface ICollectedService {

    List<Collected> getAll();

    int addCollected(Collected c);

    int deleteCollected(long articleId);

    List<Collected> selectFive(long userId);

    int getCollectedById(long articleId);

    int deleteCollectedByUser(long articleId,long userId);

    int IsCollected(long articleId,long userId);
}
